<?php
namespace app\api\controller;
use think\Controller;
class Base extends Controller
{
	public function initialize(){
		header('Access-Control-Allow-Origin:*');
		// // 响应类型
		// header('Access-Control-Allow-Methods:*');
		// // 响应头设置
		// // header('Access-Control-Allow-Headers:content-type,token,id');
		// header("Access-Control-Request-Headers: Origin, X-Requested-With, content-Type, Accept, Authorization");
	}
}